﻿Public Class Abstract_Object

    Protected entityId As Integer, newReg As Boolean, table As String
    Public attCollection As Abstract_Attribute_Collection

    Public Sub setValue(ByVal attributeId As String, ByVal value As String)

        Me.attCollection.findAttREF(attributeId).value = Core_DB.returnValueString(value, Me.attCollection.findAttREF(attributeId).type)
        Me.attCollection.findAttREF(attributeId).insertSQL = True

    End Sub

    Public Function getValue(ByVal attributeId As String, ByVal value As String) As String

        Return Me.attCollection.findAttREF(attributeId).value

    End Function


End Class
